import 'package:fish_redux/fish_redux.dart';

//TODO replace with your own action
enum TaskAction { action,upAppBarAlpha,upSwitch,upAlignmentY }

class TaskActionCreator {
  static Action onAction() {
    return const Action(TaskAction.action);
  }

  static Action upAppBarAlpha(double appBarAlpha) {
    return Action(TaskAction.upAppBarAlpha,payload:appBarAlpha);
  }

  static Action upSwitch(bool isW) {
    return Action(TaskAction.upSwitch,payload:isW);
  }

  static Action upAlignmentY(double y ) {
    return Action(TaskAction.upAlignmentY,payload:y);
  }
}
